/*
* $Id: EventManager.h 143 2010-09-09 19:55:18Z volok-aleksej@yandex.ru $
*
* Copyright 2008-2009 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _EVENT_MANAGER_H_
#define _EVENT_MANAGER_H_

class CEventManager : public IEventManager
{
	std::map<int, std::vector<ISubscriber*> > m_aEventSubscribers;
public:
	CEventManager();
	virtual ~CEventManager();
public:
	virtual void SendEvent(int nIdEvent);
	virtual void SubscribeEvent(ISubscriber* pSubscriber, int nIdEvent);
	virtual void UnSubscribeEvent(ISubscriber* pSubscriber, int nIdEvent);
};

#endif/*_EVENT_MANAGER_H_*/